package com.ruoyi.match.mapper;


import com.ruoyi.match.domain.MatchUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author WYC
 * @since 2021-03-18
 */
public interface MatchUserMapper  {

    int addUser(MatchUser user);

    MatchUser findPhone(String phone);

    int update(MatchUser user);

    int updateStatus(@Param("phone")String phone, @Param("status")Integer status);

    MatchUser findHPhone(String phone);

    List<MatchUser> selectAll(@Param("classId")String classId, @Param("name")String name);

    int updateBanji( @Param("id")String id, @Param("classId")String classId);



    int setClassIdnull(@Param("id")String id);
}
